package saas.cloud.remote.mpm;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import saas.cloud.remote.configuration.FeignConfiguration;
import saas.cloud.remote.param.RemoteParam;
import saas.cloud.remote.result.RemoteResult;

/**
 * 远程调用Mpm接口
 *
 * @author : y1
 * @className : MpmFeignClient
 * @date: 2023/4/11 14:23
 * @description : 远程调用Mpm接口
 */
@FeignClient(configuration = FeignConfiguration.class, url = "${mpm.cloud.url}")
public interface MpmFeignClient {

    @GetMapping("/remoteTest")
    RemoteResult remoteTest(@RequestBody RemoteParam param);

}
